/**
 * @program: yygh_parent
 * @ClassName UserFeignClient
 * @description:
 * @author: zyw
 * @create: 2023-06-07 15:04
 * @Version 1.0
 **/
package com.atguigu.yygh.user.client;

import com.atguigu.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {
    @GetMapping("/user/userinfo/patient/{patientId}")
    public Patient getPatientById(@PathVariable(value = "patientId") Long patientId);
}
 
